.form-group {
    position: relative;
    margin-bottom: 25px;
    width: 350px;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: #888888;
    box-sizing: border-box;
    padding-left: 20px;
    padding-bottom: 5px;
    padding-top: 20px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-control:focus + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label {
    font-size: 13px;
    transform: translate(-10px,-8px);
    color: #007bff;
}

.floating-label {
    position: absolute;
    left: 20px;
    top: 13px;
    font-size: 16px;
    color: #999;
    transition: transform 0.3s, font-size 0.3s, color 0.3s;
    pointer-events: none;
    user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

/* Optional styling for placeholder */
.form-control::placeholder {
    color: transparent; /* Hide the default placeholder text */
}

.icon{
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}